#pragma once

#include <util_usb_desc.h>

// CDC头描述符
typedef struct {
	usb_desc_base_sub_t base; // 带sub_type的描述符头
	u16_s bcd;		  // CDC版本
} __attribute__((packed)) usb_desc_cdc_header_t;

_Static_assert(sizeof(usb_desc_cdc_header_t) == 5,
	       "Struct usb_desc_cdc_header_t defined error!");
